package JarInfoReader

type JarInfoEntity struct {
	Properties    JarInfoItem
	Dependencies  []*JarInfoItem
	DirectoryName []string
	ClassFileName []string
}

type JarInfoItem struct {
	GroupId    string `json:"groupId"`
	ArtifactId string `json:"artifactId"`
	Version    string `json:"version"`
}

func NewEntity() *JarInfoEntity {
	entity := &JarInfoEntity{}
	entity.Dependencies = make([]*JarInfoItem, 0)
	entity.DirectoryName = make([]string, 0)
	entity.ClassFileName = make([]string, 0)

	return entity
}
